package com.itcast.abstractdemo.Demo03;

/*
要写注释哦!!!
*/
public class Consultant extends Employee{
    private String skll;

    public Consultant() {
    }

    public Consultant(String name, int age, String skll) {
        super(name, age);
        this.skll = skll;
    }

    public String getSkll() {
        return skll;
    }

    public void setSkll(String skll) {
        this.skll = skll;
    }

    @Override
    public void otherInfo() {
        System.out.println("我的技能是"+skll);
    }
}
